
//
//  File.swift
//  构建QuickCheck
//
//  Created by 崔博 on 2017/7/17.
//  Copyright © 2017年 崔博. All rights reserved.
//

import Foundation
extension Int: Arbitarray{
    static func arbittary() -> Int {
        return Int(arc4random())
    }
    
   
}


extension Int{
    
    static func random(from:Int, to: Int) -> Int{
        
        return  from + (Int(arc4random()) % (to - from))
    }
}
